package com.boot.sample.mybatis.mapper;

import com.boot.sample.mybatis.domain.AccessLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface AccessLogMapper {
    @Select("SELECT * FROM access_log WHERE id = #{id}")
    AccessLog findById(@Param("id") Long id);
}
